﻿#pragma once
#include "BaseShader.h"

class EffectsShaderFactory
{

public:
	static EffectsShaderFactory* Get()
	{
		static EffectsShaderFactory esf;
		return &esf;
	}

	BaseShader* GetShader(OpenGLEffects effectsType);

	void Release() {
		if (currentShader)
		{
			//delete currentShader;
			currentShader = nullptr;
		}
	}
private:
	BaseShader* currentShader = nullptr;
	EffectsShaderFactory();
	~EffectsShaderFactory();
};
